//
//  XHQRSDK.h
//  SDKTest
//
//  Created by edz on 2020/6/30.
//  Copyright © 2020 LI. All rights reserved.
//
/*二维码生成类*/
#import <Foundation/Foundation.h>
#import "XHScan.h"
#import "QRModel.h"
#import "DIYModel.h"
#import "ColorModel.h"
#import "BorderModel.h"
#import "LableModel.h"
#import "XHNormalQRView.h"
NS_ASSUME_NONNULL_BEGIN

@interface XHQRSDK : NSObject
//新增二维码生成方法，可以支持生成GIF二维码
+ (void)qrImageWithModel:(QRModel *)model size:(CGSize )size  withFinishedBlock:(void (^)(BOOL isOK,UIImage *image)) block;
//完整二维码
+ (void)qrImageWithModel:(QRModel *)model size:(CGSize )size needAddBg:(BOOL)ab withFinishedBlock:(void (^)(BOOL isOK,UIImage *image)) block;
//单码
+ (UIImage *)singleQrImageWithModel:(QRModel *)model size:(CGSize)size;
//边框
+ (UIImage *)borderImageWithModel:(QRModel *)model size:(CGSize)size;

@end

NS_ASSUME_NONNULL_END
